package org.goyo.main.services.system.impl;

import java.util.List;

import javax.annotation.Resource;
import javax.transaction.Transactional;

import org.goyo.main.domain.dao.system.ISysUserMenuDao;
import org.goyo.main.domain.entity.system.SysUserMenu;
import org.goyo.main.services.system.ISysUserMenuService;
import org.springframework.stereotype.Service;

@Service
@Transactional
public class SysUserMenuServiceImpl implements ISysUserMenuService {
	@Resource
	private ISysUserMenuDao sysUserMenuDao;
	
	@Override
	public List<SysUserMenu> findByUserId(String userId) {
		return sysUserMenuDao.findByUserId(userId);
	}

}
